#pragma once
#include "ICenter.h"
class CenterWithC :
	public ICenter
{
public:
	bool isKInCenter(KLine* k, Center* c);
	void extendCenter(vector<KLine*>* kLines, Center* c);
	void endCenter(vector<KLine*>* kLines, Center* c, vector<Center*>* centers);
	virtual vector<Center*>* initCenters(vector<KLine*>* kLines);
	Center* findLastCenter(vector<KLine*>* kLines, int idx);
	void endCenterR2L(vector<KLine*>* kLines, Center* center);
};

